package com.link.base.base.mptmpl.controller;

import javax.annotation.Resource;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.link.base.base.mptmpl.model.MpTmplCtrl;
import com.link.base.base.mptmpl.service.MpTmplCtrlService;
import com.link.core.basic.controller.BasicController;
import com.link.core.basic.service.BasicService;
import com.link.core.basic.service.KeyGenerateService;

/**
 * 小程序页面模板控件（库）
 *
 * @author 姚润发
 * @date 2020-07-10 10:31:28
 */
@Controller
@RequestMapping("/link/mpTmplCtrl")
public class MpTmplCtrlController extends BasicController<MpTmplCtrl> {

    @Resource
    private KeyGenerateService keyGenerateService;

    @Resource
    private MpTmplCtrlService mpTmplCtrlService;

    @Override
    public BasicService<MpTmplCtrl> getBasicService() throws Exception {
        return mpTmplCtrlService;
    }
}